import axios from 'axios';
// 获取企业信息
let businessMsg = (params) => axios.get('/company/goShowAllCompany',{params});
// 验证数据是否重复;
let check = (data) =>axios.post('/company/checkCompany',data);
// 添加数据
let add = (data) =>axios.post('/company/doAddCompany',data);
// 获取企业证件类型
let types = (params) => axios.get('/company/goShowAllDocumentType',{params});
// 修改企业信息
let edit = (data) =>axios.post('/company/editCompany',data);
// 获取单个企业基本信息
let show = (params) => axios.get('/company/goShowCompany',{params});
// 删除企业基本信息
let remove = (params) => axios.get('/company/deleteCompanyAndExecutive',{params});
// 获取企业详细信息(包括其下的企业高管信息)
let detail = (params) => axios.get('/company/selectCompanyAndExecutive',{params})
export default {
	businessMsg,
	add,
	types,
	edit,
	show,
	remove,
	detail,
	check,
}